package jee.boot.module.main.entity;



import jee.boot.common.basic.DataEntity;

/**
 * 示例-主从表操作(主表)Entity
 * @author 
 * @version 2019-06-19
 */
public class DemoChild extends DataEntity<DemoChild> {
	
	private static final long serialVersionUID = 1L;
	private DemoMain head;		// 父表ID 父类
//	private SysOffice office;		// 归属部门
//	private SysUser user;		// 用户
	private String status;		// 数据状态
	
	public DemoChild() {
		super();
	}

	public DemoChild(String id){
		super(id);
	}

	public DemoChild(DemoMain head){
		this.head = head;
	}

	public DemoMain getHead() {
		return head;
	}

	public void setHead(DemoMain head) {
		this.head = head;
	}
//
//	public SysOffice getOffice() {
//		return office;
//	}
//
//	public void setOffice(SysOffice office) {
//		this.office = office;
//	}
//
//	public SysUser getUser() {
//		return user;
//	}
//
//	public void setUser(SysUser user) {
//		this.user = user;
//	}
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}


}